package com.fs.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 企业信息管理对象 agency_certification
 * 
 * @author csq
 * @date 2024-10-19
 */
public class AgencyCertification extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机构id */
    @JsonSerialize(using = ToStringSerializer.class)//解决vue数值超过16位数字后精度丢失问题
    private Long id;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String name;

    /** 登录账号 */
    @Excel(name = "登录账号")
    private Long loginAccount;

    /** 统一社会信用代码 */
    @Excel(name = "统一社会信用代码")
    private String idNumber;

    /** 法人姓名 */
    private String legalPersonName;

    /** 法人身份证号 */
    private String legalPersonIdCardNo;

    /** 营业执照 */
    private String businessLicense;

    /** 服务城市 */
    @Excel(name = "服务城市")
    private String city;

    /** 接单状态 */
    @Excel(name = "接单状态")
    private Long orderStatus;

    /** 账号状态 */
    @Excel(name = "账号状态")
    private Long accountStatus;

    /** 认证状态 */
    private Long certificationStatus;

    /** 认证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date certificationTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLoginAccount(Long loginAccount) 
    {
        this.loginAccount = loginAccount;
    }

    public Long getLoginAccount() 
    {
        return loginAccount;
    }
    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }
    public void setLegalPersonName(String legalPersonName) 
    {
        this.legalPersonName = legalPersonName;
    }

    public String getLegalPersonName() 
    {
        return legalPersonName;
    }
    public void setLegalPersonIdCardNo(String legalPersonIdCardNo) 
    {
        this.legalPersonIdCardNo = legalPersonIdCardNo;
    }

    public String getLegalPersonIdCardNo() 
    {
        return legalPersonIdCardNo;
    }
    public void setBusinessLicense(String businessLicense) 
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense() 
    {
        return businessLicense;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setOrderStatus(Long orderStatus) 
    {
        this.orderStatus = orderStatus;
    }

    public Long getOrderStatus() 
    {
        return orderStatus;
    }
    public void setAccountStatus(Long accountStatus) 
    {
        this.accountStatus = accountStatus;
    }

    public Long getAccountStatus() 
    {
        return accountStatus;
    }
    public void setCertificationStatus(Long certificationStatus) 
    {
        this.certificationStatus = certificationStatus;
    }

    public Long getCertificationStatus() 
    {
        return certificationStatus;
    }
    public void setCertificationTime(Date certificationTime) 
    {
        this.certificationTime = certificationTime;
    }

    public Date getCertificationTime() 
    {
        return certificationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("loginAccount", getLoginAccount())
            .append("idNumber", getIdNumber())
            .append("legalPersonName", getLegalPersonName())
            .append("legalPersonIdCardNo", getLegalPersonIdCardNo())
            .append("businessLicense", getBusinessLicense())
            .append("city", getCity())
            .append("orderStatus", getOrderStatus())
            .append("accountStatus", getAccountStatus())
            .append("certificationStatus", getCertificationStatus())
            .append("certificationTime", getCertificationTime())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
